<%@page language="java"%>
<%@page contentType="text/html"%>
<%@page import="java.util.*, descriptor.*"%>




<jsp:include page="admin_generic_pre.jsp" >
	<jsp:param name="pagesubtitle" value="More about a student" />
</jsp:include>


	<p>
		<jsp:useBean id="infos" class="java.lang.String" scope="request" />
		<%= infos %>
	</p>
	<p>
		<jsp:useBean id="student" class="descriptor.StudentDescriptor" scope="request" />
		<jsp:useBean id="companySup" class="descriptor.CompanySupDescriptor" scope="request" />
		<jsp:useBean id="academicSup" class="descriptor.AcademicSupDescriptor" scope="request" />
		<jsp:useBean id="degree" class="descriptor.DegreeDescriptor" scope="request" />
		<p>Student: <a href="admin?action=students_createupdate&id=<%= student.getId() %>"><%= student.getFirstName() %> <%= student.getSurName() %></a></p>
		<p>Company Supervisor:
			<% if (companySup.getUserId() != 0){%>
			<a href="admin?action=companysups_more&id=<%=companySup.getUserId() %>"><%= companySup.getFirstName() %> <%= companySup.getName() %></a>
			<% }else{%>
			This student has not any Company Supervisor.
			<% }%>
		</p>
		<p>Academic Supervisor:
			<% if (academicSup.getUserId() != 0){%>
			<a href="admin?action=academicsups_more&id=<%=academicSup.getUserId() %>"><%= academicSup.getFirstName() %> <%= academicSup.getName() %></a>
			<% }else{%>
			This student has not any Academic Supervisor.
			<% }%>
		</p>
	</p>
	
<jsp:include page="admin_generic_post.jsp" ></jsp:include>		